import request from '@/utils/request'

// 学习列表
export function studyLists(params?: any) {
    return request.get({ url: '/study.study/lists', params })
}

// 添加学习
export function studyAdd(params: any) {
    return request.post({ url: '/study.study/add', params })
}

// 编辑学习
export function studyEdit(params: any) {
    return request.post({ url: '/study.study/edit', params })
}

// 删除学习
export function studyDelete(params: any) {
    return request.post({ url: '/study.study/delete', params })
}

// 学习状态
export function studyStatus(params: any) {
    return request.post({ url: '/study.study/updateStatus', params })
}

// 学习详情
export function studyDetail(params: any) {
    return request.get({ url: '/study.study/detail', params })
}